package com.coderising.jvm.test;

public class EmployeeV1 {

	private String name;
    private int age;
    
    public EmployeeV1(String name, int age) {
        this.name = name;
        this.age = age;        
    }

    public void setName(String name) {

        this.name = name;
    }

    public void setAge(int age){

    	this.age = age;
    }

    public void sayHello() {

    	System.out.println("Hello , this is class Employee ");    	
    }

    public static void main(String[] args){
    	com.coderising.jvm.test.EmployeeV1 p = new com.coderising.jvm.test.EmployeeV1("Andy",29);
    	p.sayHello();    
    	
    }
}